package cn.lizemin.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lzm
 * @version 1.0
 * @description: TODO
 * @date 2022/4/1 15:30
 */
@RestController
public class DemoController {

    private static final Logger log = LoggerFactory.getLogger(DemoController.class);

    /**
     * 测试sentinel的流量控制
     * @return
     */
    @GetMapping("/demo")
    public String demo() {
        log.info("demo ok ....");
        return "demo ok !!!";
    }


}
